﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;


namespace GestorDeFlotasDesktop
{         
    public partial class Form1 : Form
    {
        private static Form1 frmMain = new Form1();
        public Form1()
        {
            InitializeComponent();
        }
        
        
        private void Form1_Load(object sender, EventArgs e)
        {
            Utils.LoginSingleton login = Utils.LoginSingleton.Instance;
            if (login.Authenticated)
            {

            }
            else
            {
                Login.Login frmLogin = new Login.Login();
                frmLogin.ShowDialog(this);
            }
            
        }

        public void text()
        {
            lbTituloMain.Text = "HOLA";
        }

        private void btAbmCliente_Click(object sender, EventArgs e)
        {
            
        }

        private void btAbmTurno_Click(object sender, EventArgs e)
        {
            AbmTurno.AbmTarifa frmAbmTurno = new AbmTurno.AbmTarifa();
            frmAbmTurno.ShowDialog(this);
        }

    
    }
}
